﻿<%@ Control Language="C#"  Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    String Controller = ViewContext.RouteData.Values["controller"].ToString().ToLower();
    String Action = ViewContext.RouteData.Values["action"].ToString().ToLower();
    DrugStore.Models.DrugBussiness objBussiness = new DrugStore.Models.DrugBussiness();
    List<DrugStore.Models.Disease> diseases = objBussiness.GetDiseaseCategoryByName("Đa Khoa"); 
 %>
 <div>
    <ul style="list-style:none">
          <%foreach (DrugStore.Models.Disease disease in diseases) 
          {
          %>
            <li><%:Html.ActionLink(disease.DiesaseName, "Details", "Disease",new {id = disease.DiseaseId},new { @class = "black" })%></li>
          <%
          } %>
    </ul>
 </div>
    